package com.ych.modules.common.service;

import com.ych.modules.base.dbEntity.TSysAdvertiseEntity;
import com.ych.modules.common.entity.query.QueryAdvertiseEntity;
import com.ych.utils.mysqlPageUtil.PageUtils;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/1/4
 * Time: 15:29
 * Description:
 */
public interface AdvertiseService {
    void addAdvertise(TSysAdvertiseEntity advertiseEntity);

    void modifyAdvertise(TSysAdvertiseEntity advertiseEntity);

    PageUtils listAdvertise(QueryAdvertiseEntity entity);

    TSysAdvertiseEntity getAdvertise(String adId);

    void removeAd(String adId);
}
